﻿using aop_cache_Entity;
using Project.Caching;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
using Domain.Core.Repository;
namespace aop_cache_Data
{
    public interface IWebManageUsersRepository
    {
        [Caching(CachingMethod.Remove, "GetClassroom_InfoData", "GetClassroom_InfoEntity")]
        void InsertWebManageUsersData(WebManageUsers entity);
        [Caching(CachingMethod.Get)]
        IQueryable<WebManageUsers> GetWebManageUsersData();
        [Caching(CachingMethod.Get)]
        WebManageUsers GetWebManageUsersEntity(int id);
        [Caching(CachingMethod.Remove, "GetClassroom_InfoData", "GetClassroom_InfoEntity")]
        void UpdateWebManageUsers(WebManageUsers entity);
    }
}
